package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class SmartModuleStatusInfo implements Trans<SmartModuleStatusInfo, CompleteEntity.SmartModuleStatusInfo> {

    /**
     * 状态信息数据是否有效
     */
    private Boolean statusDataValid;

    /**
     * 顶部 y 坐标
     */
    private Integer topCoordinate;

    /**
     * 左边 x 坐标
     */
    private Integer leftCoordinate;

    /**
     * 右边 x 坐标
     */
    private Integer rightCoordinate;

    /**
     * 底部 y 坐标
     */
    private Integer bottomCoordinate;

    /**
     * 标签信息
     */
    private String labelInfo;

}

